//new comment
<?
include ('lib/start.php'); 
connect2db(); param();


switch ($db['param']['page']) {
case "main":													{$db['shablon']['{CONTENT}'] = index();break;}
case "students": 											{$db['shablon']['{CONTENT}'] = students($db['param']['one']);break;}
case "istudent": 											{$db['shablon']['{CONTENT}'] = istudent($db['param']['one']);break;}
case "group": 												{$db['shablon']['{CONTENT}'] = group($db['param']['one']);break;}
case "igroup": 												{$db['shablon']['{CONTENT}'] = igroup($db['param']['one']);break;}
case "predmet": 											{$db['shablon']['{CONTENT}'] = predmet($db['param']['one']);break;}
case "exam_oc": 											{$db['shablon']['{CONTENT}'] = exam_oc($db['param']['one']);break;}
case "zachet_oc": 										{$db['shablon']['{CONTENT}'] = zachet_oc($db['param']['one']);break;}
case "zachet": 												{$db['shablon']['{CONTENT}'] = zachet($db['param']['one']);break;}
case "exam": 												{$db['shablon']['{CONTENT}'] = exam($db['param']['one']);break;}
case "nedopusk":											{$db['shablon']['{CONTENT}'] = nedopusk($db['param']['one']);break;}
default: {$db['shablon']['{CONTENT}'] = index();}
										}

//---------------------------------------
		$db['shablon']['{STATISTICS}'] = statistika();
		$db['shablon']['{MENU}'] = main_menu();
		$db['shablon']['{ACTION}'] = action_m();
		$db['shablon']['{OC}'] = action_oc();
		$db['shablon']['{SLOGAN}'] = slogan();
main_tpl($db);	
?>